[paket]
tanim   = LXDE GLib/GIO tabanlı kütüphane (ilave kütüphane)
paketci = Cihan_Alkan
grup    = kütüphane
url     = http://pcmanfm.sourceforge.net/

[gerek]
derleme = intltool glib
calisma =

[kaynak]
1       = ${SOURCEFORGE_SITE}/pcmanfm/libfm-${surum}.tar.xz

[sha256]
#1       = 96b1244bde41ca0eef0332cfb5c67bb16725dfd102128f3e6f74fadc13a1cfe4

[derle]
betik	= cd $SRC/libfm-$surum
betik	= ./configure --prefix=/usr --sysconfdir=/etc --with-extra-only --with-gtk=no
betik  = sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
betik  = make


[pakur]
betik	= cd $SRC/libfm-$surum
betik     = make DESTDIR="$SRC/libfm-extra" install
betik   = install -d $PKG/usr/include/libfm $PKG/usr/lib/pkgconfig
betik   = install -m 644 -t $PKG/usr/include/libfm $SRC/libfm-extra/usr/include/libfm/fm-{extra,version,xml-file}.h
betik   = install -m 644 -t $PKG/usr/lib $SRC/libfm-extra/usr/lib/libfm-extra.*
betik   = install -m 644 -t $PKG/usr/lib/pkgconfig $SRC/libfm-extra/usr/lib/pkgconfig/libfm-extra.pc
betik   = rm $PKG/usr/lib/libfm-extra.so.4
betik   = ln -s libfm-extra.so.4.1.3 $PKG/usr/lib/libfm-extra.so.4
